package it.unisa.ingegneria.tdp.esercitazione1;


public class Node <T> {
 private T data;
 private Node<T> next;

 public Node(T _data, Node<T> _next) {
	data = _data;
	next = _next;
}

public T getData() {
	return data;
}

public void setData(T _data) {
	data = _data;
}

public Node<T> getNext() {
	return next;
}

public void setNext(Node<T> _next) {
	next = _next;
}

 
}

